package com.ytd.smartcanteen.weighting.constants;

/**
 * 常量类
 *
 * @author gaoguanchao
 * @since 2023/3/24
 */
public interface Constants {
    /**
     * 查询当前餐别绑定餐品
     */
    String GET_FOOD_INFO = "getFoodInfo";
    /**
     * 查询当前绑定的所有餐别餐品
     */
    String GET_FOOD_INFO_LIST = "getFoodInfoList";
    /**
     * 获取所有餐别
     */
    String GET_MEAL_TIME_LIST = "getMealTimeList";

    /**
     * 获取所有餐别的餐品分类
     */
    String GET_FOOD_CATEGORY = "getFoodCategory";
    /**
     * 获取餐品分类下的所有餐品
     */
    String GET_FOOD_PAGE = "getFoodPage";
    String GET_FOOD_PAGE_END = "getFoodPageEnd";
    /**
     * 获取托盘消费情况
     */
    String GET_CONSUME = "getConsume";
    String MERCHANT_LOGIN = "merchantLogin";
    String ADD_ORDER = "addOrder";
    String ADD_ORDER_SNAPSHOT = "addOrderSnapshot";
    String BATCH_ADD_ORDER = "batchAddOrder";
    String UPDATE_FOOD_INFO = "updateFoodInfo";

    String UPLOAD_FOOD_WEIGHT = "uploadFoodWeight";

    String BATCH_ADD_OFFLINE_ORDER_SNAPSHOT = "batchAddOfflineOrderSnapshot";

    String GET_DATA_UPDATE_STATUS = "getDataUpdateStatus";


    //    ------------------------推送----------------------------------
    String PUSH_UPDATE_FOOD_CATEGORY = "updateFoodCategory";
    String PUSH_SET_FOOD_INFO = "setFoodInfo";
    String PUSH_UPDATE_FOOD = "updateFood";
    String PUSH_UPDATE_MEAL_TIME = "updateMealTime";
    String PUSH_APPLY_UPLOAD_OFFLINE_ORDER = "applyUploadOfflineOrder";
    String PUSH_SET_FOOD_INFO_LIST = "setFoodInfoList";

    int CALC_TYPE_WEIGHT = 0;
    int CALC_TYPE_PORTION = 1;
    int CALC_TYPE_REGULAR = 2;

    String NO_BINDING_ERROR = "noBindingError";

}
